package io.renren.modules.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.app.form.LoginForm;
import io.renren.modules.hospital.entity.EmrHzInfoEntity;
import io.renren.modules.hospital.entity.EmrYsInfoEntity;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author starry
 * @email 2495646304@qq.com
 * @date 2024-01-29 17:53:47
 */
public interface EmrHzInfoService extends IService<EmrHzInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    EmrHzInfoEntity queryByPhone(String phone);


    /**
     * 患者登录
     * @param form 信息表单
     * @return 患者的唯一编号
     */
    EmrHzInfoEntity login(LoginForm form);

    public EmrHzInfoEntity findHzById(Integer hzId);


    List<EmrHzInfoEntity> getHzListByParam(String key, String paramType, int page, int limit);

}

